package com.itheima.task;

public class LuckDemo {
    public static void main(String[] args) {
        Luck luck = new Luck();
        Thread thread1 = new Thread(luck);
        Thread thread2 = new Thread(luck);
        thread1.setName("抽奖箱1");
        thread2.setName("抽奖箱2");
        thread1.start();
        thread2.start();
    }
}
